package config

import "github.com/zeromicro/go-zero/rest"

// 配置映射 config.go
type Config struct {
	rest.RestConf
	Mysql struct {
		DataSource string
	}

	Redis struct {
		Addr string
	}
	
	Jwt struct {
		SignerKey string
		TokenExpire int
		RefreshTokenExpire int
	}

	Email struct {
		From string
		CodeLength int
		CodeExpired int
		Subject string
		Smtp string
		SmtpPort int
		Password string
	}

	Tencent struct {
		SecretId string
		SecretKey string
		BucketUrl string
	}
}
